package com.gyh.stlserver.service;

import com.github.pagehelper.PageInfo;
import com.gyh.stlserver.entity.Reserve;

import java.util.List;

public interface ReserveService {
    List<Reserve> getReserveByMid(Integer id);

    PageInfo<Reserve> getAll(Integer pageNum,Integer pageSize,Reserve reserve);

    int add(Reserve reserve);

    int edit(Reserve reserve);

    int attendance(Integer cid, Integer mid);

    int cancelReserve(Reserve reserve);

    int removeByCidAndMid(Integer mid, Integer cid);
}
